home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gMinZH, gMaxZH, gMinZV, gMaxZV
- DeltaH = the mouseH - the locH of sprite 117
- DeltaV = the mouseV - the locV of sprite 117
- repeat while the stillDown
- cursor(SettaCursore(3))
- H = the mouseH - DeltaH
- V = the mouseV - DeltaV
- H = max(H, gMinZH)
- H = min(H, gMaxZH)
- V = max(V, gMinZV)
- V = min(V, gMaxZV)
- set the locH of sprite 117 to H
- set the locV of sprite 117 to V
- updateStage()
- end repeat
- end
-